package factories;

public class CookFactory {
	public static InterfaceCook createCook(String type){
		if (type.equals("meat"))
			return new MeatCook();
		if (type.equals("veggie"))
			return new VeggieCook();
		return null;
	}
}
